package com.wis.traffic.post.service.impl;

import com.wis.traffic.post.base.PostBaseDAOImpl;
import com.wis.traffic.entity.base.BaseDAO;
import com.wis.traffic.entity.dao.Dictionary;
import com.wis.traffic.post.service.DictionaryService;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class DictionaryServiceImpl implements DictionaryService {
    private String nameSpace = Dictionary.class.getName();
    private BaseDAO<Dictionary, Serializable> baseDao = new PostBaseDAOImpl<>();

    @Override
    public List<Object> getListByParams(Map<String, Object> params) {
        return baseDao.getObject(nameSpace,"selectListByParams", params);
    }
}
